<template>
  <div class="about_container">
    <!--导航栏-->
    <van-nav-bar @click-left="$router.go(-1)" left-arrow title="关于我们"/>

    <!--内容-->
    <img src="../assets/Images/logo.jpg" alt="" class="shop-logo">
    <div class="content">
      <p>{{ storeInfo.shopName }}</p>
      <p>{{ storeInfo.description }}</p>
    </div>
  </div>
</template>

<script>
export default {
  name: "about",
  data() {
    return {
      storeInfo: {},
    }
  },
  created() {
    this.getStoreInfo();
  },
  methods: {
    async getStoreInfo() {
      let res = await this.$axios.get(this.$api.getStoreInfo);
      if (res.status === 200 && res.data.code === 200) {
        this.storeInfo = res.data.data;
      }
    },
  }
};
</script>

<style lang="less" scoped>
.about_container {
  .shop-logo {
    width: 100%;
  }

  .content {
    text-align: center;
  }
}


</style>
